package cn.codeforfun.gitee.api.email;

import cn.codeforfun.gitee.bean.GiteeEmail;

import java.io.IOException;
import java.util.List;

/**
 * @author wangbin
 */
public interface GiteeEmailService {
    /**
     * 获取授权用户的全部邮箱
     *
     * @return 授权用户的邮箱数组
     * @throws IOException 异常
     */
    List<GiteeEmail> listEmails() throws IOException;
}
